package com.training.java.core.statics;

public class Car {
	
	private static int numberOfCarsCreated;
	
	private String vin;
	private String make;
	private String model;
	
	public Car(String vin, String make, String model) 
	{
		this.vin = vin;
		this.make = make;
		this.model = model;
		
		numberOfCarsCreated++;
	}
	
	public static int getNumberOfCarsCreated()
	{
		return numberOfCarsCreated;
	}

	public String getVin() {
		return vin;
	}

	public String getMake() {
		return make;
	}

	public String getModel() {
		return model;
	}
	

	

}
